//
//  TaoCanAnLiDataBaseHandle.h
//  Wedding fantastic
//
//  Created by ZLM on 15/7/6.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TaoCanAnLiModel.h"
#import <sqlite3.h>
#import <UIKit/UIKit.h>

@interface TaoCanAnLiDataBaseHandle : NSObject
+(instancetype)shareDataBase;
-(void)openDB;
-(void)createTable;
-(void)createTableAnLi;
-(void)insert:(TaoCanAnLiModel *)TaoMod;
-(void)insertAnLi:(TaoCanAnLiModel *)AnLiMod;
-(void)updateTable:(TaoCanAnLiModel *)TaoMod number:(NSInteger)number;
-(void)deleteTable:(NSInteger)number;
-(void)deleteTableByName:(NSString *)name;
-(void)deleteTableByAnLiName:(NSString *)anliname;
-(NSMutableArray *)selectAllTao;
-(NSMutableArray *)selectAllAn;
-(void)dropTable;
@end
